<template>
  <!-- 按钮 -->
  <div class="list_bootom clickdiv" @click="stageaddtextClick">
    <p>+ 添加文字</p>
  </div>
</template>

<script>
import { mapState } from "vuex";
export default {
  computed: {
    ...mapState("templateStage", ["proscenium"]),
  },
  props: {
    addbutton: String,
  },
  methods: {
    //舞台添加文本
    stageaddtextClick() {
      if (this.proscenium) this.$emit("childValue", "text");
    },
  },
};
</script>

<style lang="less" scoped>
@import "../../assets/styles/frame.less";
.list_bootom {
  margin-top: 41px;
  cursor: pointer;
  .rbottom();
  .cen();
}
</style>